package com.xiaoyu.lingdian.vo;

import java.util.List;

import com.xiaoyu.lingdian.entity.CoreAttachment;
import com.xiaoyu.lingdian.entity.CoreMyButler;
import com.xiaoyu.lingdian.vo.BaseVO;
import com.xiaoyu.lingdian.tool.DateUtil;

public class CoreMyButlerVO implements BaseVO {

	/**
	*标识UUID
	*/
	private String crmbrUuid;

	/**
	*名字
	*/
	private String crmbrName;

	/**
	*电话号码
	*/
	private String crmbrTel;
	
	/**
	*QQ
	*/
	private String crmbrQq;

	/**
	*创建日期
	*/
	private String crmbrCdate;

	/**
	*修改日期
	*/
	private String crmbrUdate;
	
	/**
	*附件详情
	*/
	private List<CoreAttachment> list;
	
	public void setCrmbrUuid(String crmbrUuid) {
		this.crmbrUuid = crmbrUuid;
	}

	public String getCrmbrUuid( ) {
		return crmbrUuid;
	}

	public String getCrmbrName() {
		return crmbrName;
	}

	public void setCrmbrName(String crmbrName) {
		this.crmbrName = crmbrName;
	}

	public String getCrmbrTel() {
		return crmbrTel;
	}

	public void setCrmbrTel(String crmbrTel) {
		this.crmbrTel = crmbrTel;
	}

	public String getCrmbrQq() {
		return crmbrQq;
	}

	public void setCrmbrQq(String crmbrQq) {
		this.crmbrQq = crmbrQq;
	}

	public void setCrmbrCdate(String crmbrCdate) {
		this.crmbrCdate = crmbrCdate;
	}

	public String getCrmbrCdate( ) {
		return crmbrCdate;
	}

	public void setCrmbrUdate(String crmbrUdate) {
		this.crmbrUdate = crmbrUdate;
	}

	public String getCrmbrUdate( ) {
		return crmbrUdate;
	}

	public List<CoreAttachment> getList() {
		return list;
	}

	public void setList(List<CoreAttachment> list) {
		this.list = list;
	}

	public CoreMyButlerVO( ) { 
	}

	@Override
	public void convertPOToVO(Object poObj) {
		if (null == poObj) {
			return;
		}

		CoreMyButler po = (CoreMyButler) poObj;
		this.crmbrUuid = po.getCrmbrUuid();
		this.crmbrName = po.getCrmbrName();
		this.crmbrTel = po.getCrmbrTel();
		this.crmbrQq = po.getCrmbrQq();
		this.crmbrCdate = po.getCrmbrCdate()!=null?DateUtil.formatTimesTampDate(po.getCrmbrCdate()):"";
		this.crmbrUdate = po.getCrmbrUdate()!=null?DateUtil.formatTimesTampDate(po.getCrmbrUdate()):"";
	}
//<=================定制内容开始==============
//==================定制内容结束==============>

}